package com.koron.order.defect.bean.query;

import com.koron.order.defect.bean.vo.DefectVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName DefectQuery
 * @description
 * @Author zhouj
 * @Date 2021/11/2 15:22
 */
@Data
public class DefectQuery extends DefectVO {

    @ApiModelProperty(value = "状态列表")
    private List<String> statusList;

    @ApiModelProperty(value = "缺陷等级列表")
    private List<String> levelList;

    @ApiModelProperty(value = "创建开始时间")
    private Date createStartTime;

    @ApiModelProperty(value = "创建结束时间")
    private Date createEndTime;

    @ApiModelProperty(value = "应处理完成时间开始")
    private Date expectEndTimeStart;

    @ApiModelProperty(value = "应处理完成时间结束")
    private Date expectEndTimeEnd;

    @ApiModelProperty(value = "消缺单位父级组织List")
    private List<String> delDefectParentOrgList;

    @ApiModelProperty(value = "消缺单位组织List")
    private List<String> delDefectOrgList;

    @ApiModelProperty(value = "是否及时 1:是 0:不是")
    private Integer onTime;

    @ApiModelProperty(value = "设备管理单位IDList")
    private List<String> deptManageList;

    @ApiModelProperty(value = "作业单位")
    private String deptWork;

    @ApiModelProperty(value = "作业单位名称")
    private String deptWorkName;

    @ApiModelProperty(value = "作业单位IDList")
    private List<String> deptWorkList;

    @ApiModelProperty(value = "当前账号")
    private String currAccount;

    @ApiModelProperty(value = "关键字搜索(编码及标题)")
    private String keyWord;

    @ApiModelProperty(value = "设备ids")
    private List<String> equipmentIds;

    @ApiModelProperty(value = "工单ids")
    private List<String> ids;

    @ApiModelProperty(value = "缺陷关键字匹配查询")
    private String realKeys;

    @ApiModelProperty(value = "是否需要归集到父节点查询")
    private boolean collectionSearch;

    @ApiModelProperty(value = "设备层级")
    private int floor;
}
